function [ mat ] = arff2mat( fileName, zRowId, zColId )
%ARFF2MAT Summary of this function goes here
%   Detailed explanation goes here

wekaObj = loadARFF(fileName);

% if nargin == 1
%     zRowId = 1:wekaObj.numInstances;
%     zColId = 1:wekaObj.numAttributes;
% end
% if nargin == 2
%     zColId = 1:wekaObj.numAttributes;
% end
% if nargin == 3
% end

mat = zeros(wekaObj.numInstances, wekaObj.numAttributes);
for iRow = 1:wekaObj.numInstances
    wekaObj(iRow, :) = wekaObj.instance(iRow - 1).toDoubleArray;
end

end

